package cn.zhfeat.hatch.service.impl;

import javax.annotation.Resource;

import cn.zhfeat.core.base.BaseServiceImpl;
import cn.zhfeat.hatch.dao.store.IBaseStoreInfoMapper;

import cn.zhfeat.hatch.dto.store.BaseStoreInfoDto;
import cn.zhfeat.hatch.entity.store.BaseStoreInfo;
import cn.zhfeat.hatch.service.IBaseStoreInfoService;
import org.springframework.stereotype.Service;


/**
 * @description: 门店信息 业务层
 *
 * @author ZhangHao
 * @date 2018年5月3日 下午3:33:14 
 * @version 1.0.0.1
 */
@Service("baseStoreInfoService") 
public class BaseStoreInfoServiceImpl extends BaseServiceImpl<BaseStoreInfo, BaseStoreInfoDto, Long> implements IBaseStoreInfoService {

	@Resource
	private IBaseStoreInfoMapper mapper;

	/**
	 * 
	 * @Description: 查询相同门店数量
	 * 
	 * @author: ZhangHao
	 * @date:   2018年5月27日 下午1:14:35    
	 * @version 1.0.0.1
	 */
	@Override
	public Integer getCountByType(BaseStoreInfoDto baseStoreInfoDto) {
		
		return mapper.getCountByType(baseStoreInfoDto);
	}  
	
	
}
